package cn.sharp.bbs.event;

import org.springframework.context.ApplicationEvent;

/**
 * 文章审核事件
 *
 * @author zhao yu
 */
public class PostCheckEvent extends ApplicationEvent {

    private Long key; //审核版本的id

    public PostCheckEvent(Object source) {
        super(source);
    }

    public PostCheckEvent(Object source, Long key) {
        super(source);
        this.key = key;
    }

    public Long getKey() {
        return key;
    }
}
